package com.wust.entity;

import java.util.Date;

public class HrStatistics {
    private Integer id;

    private Integer userId;

    private Integer statusId;

    private String heartRateValue;

    private Double variance;

    private Date beginTime;

    private Date endTime;

    private Double hour;

    private Date createTime;

    private Date updateTime;

    private Double average;

    private Integer qualifiedRate;

    public HrStatistics(Integer id, Integer userId, Integer statusId, String heartRateValue, Double variance, Date beginTime, Date endTime, Double hour, Date createTime, Date updateTime, Double average, Integer qualifiedRate) {
        this.id = id;
        this.userId = userId;
        this.statusId = statusId;
        this.heartRateValue = heartRateValue;
        this.variance = variance;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.hour = hour;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.average = average;
        this.qualifiedRate = qualifiedRate;
    }

    public HrStatistics() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getStatusId() {
        return statusId;
    }

    public void setStatusId(Integer statusId) {
        this.statusId = statusId;
    }

    public String getHeartRateValue() {
        return heartRateValue;
    }

    public void setHeartRateValue(String heartRateValue) {
        this.heartRateValue = heartRateValue == null ? null : heartRateValue.trim();
    }

    public Double getVariance() {
        return variance;
    }

    public void setVariance(Double variance) {
        this.variance = variance;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getHour() {
        return hour;
    }

    public void setHour(Double hour) {
        this.hour = hour;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Double getAverage() {
        return average;
    }

    public void setAverage(Double average) {
        this.average = average;
    }

    public Integer getQualifiedRate() {
        return qualifiedRate;
    }

    public void setQualifiedRate(Integer qualifiedRate) {
        this.qualifiedRate = qualifiedRate;
    }

    @Override
    public String toString() {
        return "HrStatistics{" +
                "id=" + id +
                ", userId=" + userId +
                ", statusId=" + statusId +
                ", heartRateValue='" + heartRateValue + '\'' +
                ", variance=" + variance +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", hour=" + hour +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", average=" + average +
                ", qualifiedRate=" + qualifiedRate +
                '}';
    }
}